package edu.zjut.hjg.saas.biz.task;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

import edu.zjut.hjg.saas.biz.service.BillingService;

public class LeaseTermTask {

    private static final Log log = LogFactory.getLog(LeaseTermTask.class);

    private BillingService   billingService;

    public void setBillingService(BillingService billingService) {
        this.billingService = billingService;
    }

    public void billing() {
        log.info("每日计费任务启动...");
        billingService.dailyBilling();
        log.info("每日计费任务结束...");
    }
}
